package com.ccp.dev.system.model;

import com.ccp.dev.core.basic.model.BaseModel;

/**
 * 首页栏目表 sys_index_column
 *
 * @author doufangzheng
 * @date 2019-03-19
 */

public class IndexColumn extends BaseModel {
    private static final long serialVersionUID = 1L;
    public static final Integer DATAMODE_SERVICE = 0;
    public static final Integer DATAMODE_SQL = 1;

    private String id;
    /**
     *栏目名称
     */
    private String name;
    /**
     *栏目别名
     */
    private String alias;
    /**
     *栏目分类
     */
    private String catalog;
    /**
     *栏目类型（0：一般栏目、1：图表栏目、2、滚动栏目）
     */
    private Integer colType;
    /**
     *数据加载方式(0:服务方法;1:自定义查询)
     */
    private Integer dataMode;
    /**
     *数据来源
     */
    private String dataFrom;
    /**
     * 数据来源
     */
    private String dataFromName;
    /**
     *数据别名
     */
    private String dsAlias;
    /**
     *数据源名称
     */
    private String dsName;
    /**
     *栏目高度
     */
    private Integer colHeight;
    /**
     *栏目URL
     */
    private String colUrl;
    /**
     *栏目模版
     */
    private String templateHtml;
    /**
     *是否公共栏目
     */
    private Integer isPublic;
    /**
     *所属组织ID
     */
    private String orgId;
    /**
     *是否支持刷新
     */
    private Integer supportRefresh;
    /**
     *刷新时间
     */
    private Integer refreshTime;
    /**
     *展示效果
     */
    private Integer showEffect;
    /**
     *描述
     */
    private String memo;
    /**
     *数据参数
     */
    private String dataParam;
    /**
     * 是否分页"
     */
    private Integer needPage;

    public String getDataFromName() {
        return dataFromName;
    }

    public void setDataFromName(String dataFromName) {
        this.dataFromName = dataFromName;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getCatalog() {
        return catalog;
    }

    public void setCatalog(String catalog) {
        this.catalog = catalog;
    }

    public Integer getColType() {
        return colType;
    }

    public void setColType(Integer colType) {
        this.colType = colType;
    }

    public Integer getDataMode() {
        return dataMode;
    }

    public void setDataMode(Integer dataMode) {
        this.dataMode = dataMode;
    }

    public String getDataFrom() {
        return dataFrom;
    }

    public void setDataFrom(String dataFrom) {
        this.dataFrom = dataFrom;
    }

    public String getDsAlias() {
        return dsAlias;
    }

    public void setDsAlias(String dsAlias) {
        this.dsAlias = dsAlias;
    }

    public String getDsName() {
        return dsName;
    }

    public void setDsName(String dsName) {
        this.dsName = dsName;
    }

    public Integer getColHeight() {
        return colHeight;
    }

    public void setColHeight(Integer colHeight) {
        this.colHeight = colHeight;
    }

    public String getColUrl() {
        return colUrl;
    }

    public void setColUrl(String colUrl) {
        this.colUrl = colUrl;
    }

    public String getTemplateHtml() {
        return templateHtml;
    }

    public void setTemplateHtml(String templateHtml) {
        this.templateHtml = templateHtml;
    }

    public Integer getIsPublic() {
        return isPublic;
    }

    public void setIsPublic(Integer isPublic) {
        this.isPublic = isPublic;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public Integer getSupportRefresh() {
        return supportRefresh;
    }

    public void setSupportRefresh(Integer supportRefresh) {
        this.supportRefresh = supportRefresh;
    }

    public Integer getShowEffect() {
        return showEffect;
    }

    public void setShowEffect(Integer showEffect) {
        this.showEffect = showEffect;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getDataParam() {
        return dataParam;
    }

    public void setDataParam(String dataParam) {
        this.dataParam = dataParam;
    }

    public static Integer getDatamodeService() {
        return DATAMODE_SERVICE;
    }

    public static Integer getDatamodeSql() {
        return DATAMODE_SQL;
    }

    public Integer getRefreshTime() {
        return refreshTime;
    }

    public void setRefreshTime(Integer refreshTime) {
        this.refreshTime = refreshTime;
    }

    public Integer getNeedPage() {
        return needPage;
    }

    public void setNeedPage(Integer needPage) {
        this.needPage = needPage;
    }
}
